package com.example.design.patterns.冰河.结构型模式.外观模式;

import com.example.design.patterns.冰河.结构型模式.外观模式.facede.Facade;
import com.example.design.patterns.冰河.结构型模式.外观模式.subSystemClasses.impl.ServiceAImpl;
import com.example.design.patterns.冰河.结构型模式.外观模式.subSystemClasses.impl.ServiceBImpl;

public class Test {
    public static void main(String[] args) {
        ServiceAImpl serviceA = new ServiceAImpl();
        ServiceBImpl serviceB = new ServiceBImpl();
        serviceA.methodA();
        serviceB.methodB();
        System.out.println("----------------");
        //facade
        Facade facade = new Facade();
        facade.methodA();
        facade.methodB();
    }
}
